import http from './httpInstance'


function getUserInfo() {
  return http({
    method: 'post',
    url: '/vmp-server-ar/integrated-workbench/v1/arhome/camera/highAndLows',
  })
}

function login(params) {
  return http({
    method: 'post',
    url: '/vmp-server/integrated-workbench/v1/sysmanage/login',
    data: params
  })
}

// 获取部门
function getTypeList(params) {
  return http({
    method: 'post',
    url: '/data-center/property/orgoptions',
    data: params
  })
}

// 获取业务分类
function busioptions() {
  return http({
    method: 'post',
    url: '/data-center/property/busioptions',
  })
}

// 获取库类型
function paramkvlist(params) {
  return http({
    method: 'post',
    url: '/data-center/global/param/paramkvlist',
    data: params
  })
}

// 获取存储库
function repolist() {
  return http({
    method: 'post',
    url: '/data-center/global/param/repolist',

  })
}

// 获取菜单

function getmenuListFun() {
  return http({
    method: 'post',
    url: '/integrated-workbench/v1/system/getrolemenus',
  })
}








export { getUserInfo, login, getTypeList, busioptions, paramkvlist, repolist, getmenuListFun }
